﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPages/Frontend.master" AutoEventWireup="true"
  CodeFile="ShowMeTellMe.aspx.cs" Inherits="Projects_SeMeHearMe" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" runat="server" ContentPlaceHolderID="CPMainContent">
  <asp:PlaceHolder ID="ObjectivePanel" runat="server" Visible="True">
    <div class="post">
      <h2 class="title">
        Show Me, Tell Me</h2>
      <div class="entry">
        <p>
          The purpose of this excise is to create a simple web application which will help
          teach the user the &quot;Show Me, Tell Me&quot; questions asked of them when they
          take their UK class B driving test.
        </p>
        <p>
          It should present the user with a random question and allow the user to reveal the
          answer and display a new question at will.
        </p>
        <p>
          The objective for the Developer is to practice database access and problem solving
          tequniques.
        </p>
        <p>
          This was the first project I did and was developed before I decided to add these to
          a website so I had a few issues when I added the styling to it but I think it poreted over okay. 
        </p>
        <p>
          The Show Me, Tell Me questions and answers are taken from the 
          <a href="http://www.csm.uk.com/driving-test/tell-me-show-me.php" runat="server" target="_blank">County School of 
          Motoring (CSM)</a> website and were correct and accurate at the time.
        </p>
      </div>
      <div class="byline">
        <p class="meta">
          <asp:Button ID="BtnShowSolution" runat="server" Text="Show Possible Solution" OnClick="BtnShowSolution_Click" />
        </p>
      </div>
    </div>
  </asp:PlaceHolder>
  <asp:PlaceHolder ID="SolutionPanel" runat="server" Visible="False">
    <div class="post">
      <h2 class="title">
        Solution</h2>
      <div class="entry">
        <table id="ShowMeTellMeTable">
          <tr class="TableHeading">
            <td>
              Question
            </td>
            <td>
              Answer
            </td>
          </tr>
          <tr id="DataRow">
            <td>
              <asp:Label ID="LblQuestion" runat="server"></asp:Label>
            </td>
            <td>
              <asp:Label ID="LblAnswer" runat="server"></asp:Label>
            </td>
          </tr>
          <tr class="TableButtons">
            <td>
              <asp:Button ID="BtnNextQuestion" runat="server" Text="Next Question" OnClick="BtnNextQuestion_Click" />
            </td>
            <td>
              <asp:Button ID="BtnShowAnswer" runat="server" Text="Show Answer" OnClick="BtnShowAnswer_Click" />
            </td>
          </tr>
        </table>
      </div>
      <div class="byline">
        <p class="meta">
          <asp:Button ID="BtnShowObjective" runat="server" Text="Hide Solution / Show Objective" OnClick="BtnShowObjective_Click" />
        </p>
      </div>
    </div>
  </asp:PlaceHolder>
  <div style="clear: both;">
    &nbsp;</div>
</asp:Content>
